package com.ruoyi.student.mapper;

import com.ruoyi.student.domain.XzkStudent;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

public interface XzkStudentPromotionMapper {

   @Insert("insert into xzk_studentpromotion(stuid,superviseclasslasttime,promotion) values(#{stuid},#{lastTime},#{promotion})")
   public void installXzkStudentByPromotion(@Param("stuid") Long stuid, @Param("promotion")String promotion, @Param("lastTime")Date lastTime);

  //  @Select("select superviseclasslasttime,promotion form xzk_studentpromotion where id = #{stuid}")
   List<XzkStudent> selectXzkStudentopenhistoryList(@Param("stuid") Long stuid);
}
